CLIENT_INST_PATH = `pwd`/../client/install
SERVER_INST_PATH = `pwd`/../server/install
CLIENT_LIBS_PATH = ${CLIENT_INST_PATH}/libs
SERVER_LIBS_PATH = ${SERVER_INST_PATH}/libs
LIB_PATH = `pwd`/install/lib/

all:
	./build.sh 
	mkdir -p ${CLIENT_INST_PATH}/libs
	cp -rf ${LIB_PATH}libsqlite3.a ${CLIENT_LIBS_PATH}
	mkdir -p ${SERVER_INST_PATH}/libs
	cp -rf ${LIB_PATH}libsqlite3.a ${SERVER_LIBS_PATH}

clean:
	rm -rf install
	./build.sh -c
